package com.xjlsoft.weather.dto;

import com.alibaba.excel.annotation.ExcelProperty;

import lombok.Data;

/**
 * @author wangzhi 
 */
@Data
public class CourseData {

    @ExcelProperty(value = "课程名称",index = 0)
    private String courseName;

    @ExcelProperty(value = "价格",index = 1)
    private Double price;

    public CourseData(String courseName, double price) {
        this.courseName = courseName;
        this.price = price;
    }
}
